package view;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import javax.swing.JComboBox;

import model.Conference;
import model.Review;

/**
 * @author Sarah George
 *
 */
public class RevListener implements ActionListener {
	
	public RevListener() {
		super();
	}

	@Override
	public void actionPerformed(ActionEvent e) {
		JComboBox<Review> cb = (JComboBox<Review>)e.getSource();
        Review rev = (Review)cb.getSelectedItem();
		rev.open();
	}

}